package cn.meng.base.service;

import cn.meng.base.vo.EmployeeVo;

import java.util.List;

/**
 * 员工信息service
 * @author 万梦辉
 */
public interface EmployeeService {

    /**
     * 插入员工数据
     * @param employee
     * @return
     */
    public Integer insertEmployee(EmployeeVo employee);

    /**
     * 批量插入员工数据
     * @param employees
     * @return
     */
    public Integer batchInsertEmployee(List<EmployeeVo> employees);

    /**
     * 通过主键更新员工名称
     * @param pk_employee
     * @param name
     * @return
     */
    public Integer updateEmployeeNameByPk(String pk_employee,String name);

    public EmployeeVo selectEmployeeByPK(String pk_employee);

}
